﻿<%@ Page Language="C#" MasterPageFile="~/admin/AdminTemplate.master" AutoEventWireup="true" CodeFile="EditNews.aspx.cs" Inherits="addnews" Title="Admin" StylesheetTheme="Office2003 Silver" UICulture="vi" %>

<%@ Register Assembly="DevExpress.Web.ASPxEditors.v7.2, Version=7.2.2.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
    
    <asp:Panel ID="Panel1" runat="server"  Width="85%" BorderColor="Transparent" ForeColor="White" Height="90%" Font-Bold="True" GroupingText="Sửa nội dung">
    <br />
    <br />
    <table width="100%" border="0">
        <tr>
            <td style="width: 201px">
                <span style="color: white">
                Tiêu đề tin tức :</span></td>
            <td style="width: 121px">
                <dxe:aspxtextbox id="txtNewsTitle" runat="server" width="292px" Height="20px" MaxLength="30"></dxe:aspxtextbox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtNewsTitle"
                    ErrorMessage="RequiredFieldValidator" Width="258px">* Bạn phải nhập tiêu đề tin tức</asp:RequiredFieldValidator></td>
                    </tr>
        <tr>
            <td style="width: 201px; height: 458px;">
                <span style="color: white">
                Nội dung </span></td>
            <td style="width: 121px; height: 458px;">
                <fckeditorv2:fckeditor id="txtnewsContent" runat="server" BasePath="~/admin/fckeditor/" Height="400px"></fckeditorv2:fckeditor>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtnewsContent"
                    ErrorMessage="* Bạn phải nhập nội dung" Width="235px"></asp:RequiredFieldValidator></td>
                    </tr>
        <tr>
            <td style="width: 201px">
                <span style="color: honeydew">
                Thời gian</span></td>
            <td style="width: 121px" align="left">
                &nbsp;<dxe:ASPxDateEdit ID="ASPxDateEdit1" runat="server" CssFilePath="~/App_Themes/Office2003 Silver/{0}/styles.css"
                    CssPostfix="Office2003_Silver" EnableTheming="False" ImageFolder="~/App_Themes/Office2003 Silver/{0}/" BackColor="White" ForeColor="Black">
                    <ValidationSettings ErrorText="* bạn nhập sai gi&#225; trị" ErrorTextPosition="Left">
                    </ValidationSettings>
                    <CalendarProperties>
                        <DayHeaderStyle BackColor="Silver" ForeColor="Black" />
                    </CalendarProperties>
                </dxe:ASPxDateEdit>
            </td>
        </tr>
         <tr>
            <td style="width: 201px; height: 54px;">
                <asp:HiddenField ID="HiddenField1" runat="server" />
            </td>
            <td style="width: 121px; height: 54px;">
                <asp:Button ID="btAddNews" runat="server" Text="Sửa" OnClick="btAddNews_Click" /></td>
            
        </tr>
        <tr>
            <td style="width: 201px; height: 54px;">
            </td>
            <td style="width: 121px; height: 54px;">
                <asp:Label ID="thongbao" runat="server" ForeColor="White"></asp:Label><br />
                <br />
                <br />
                <br />
                <br />
            </td>
            
        </tr>
        
    </table>
    </asp:Panel>
</asp:Content>

